package com.jlnk.androidfmc.entity;

public class Address {

  private int id;
  private String name;
  private String phone;
  private String province;
  private String city;
  private String district;
  private String addressDetail;
  private int isDefault;

  public Address() {
  }

  public Address(int id, String name, String phone, String province, String city, String district,
      String addressDetail,
      int isDefault) {
    this.id = id;
    this.name = name;
    this.phone = phone;
    this.province = province;
    this.city = city;
    this.district = district;
    this.addressDetail = addressDetail;
    this.isDefault = isDefault;
  }

  public int getId() {
    return id;
  }

  public void setId(int id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getProvince() {
    return province;
  }

  public void setProvince(String province) {
    this.province = province;
  }

  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }

  public String getDistrict() {
    return district;
  }

  public void setDistrict(String district) {
    this.district = district;
  }

  public String getAddressDetail() {
    return addressDetail;
  }

  public void setAddressDetail(String addressDetail) {
    this.addressDetail = addressDetail;
  }

  public int getIsDefault() {
    return isDefault;
  }

  @Override
  public String toString() {
    return "Address{" +
        "id=" + id +
        ", name='" + name + '\'' +
        ", phone='" + phone + '\'' +
        ", province='" + province + '\'' +
        ", city='" + city + '\'' +
        ", district='" + district + '\'' +
        ", addressDetail='" + addressDetail + '\'' +
        ", isDefault=" + isDefault +
        '}';
  }

  public void setIsDefault(int isDefault) {

    this.isDefault = isDefault;
  }
}
